﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Page.Master" AutoEventWireup="true" CodeBehind="SearchInsurance.aspx.cs" Inherits="HealthInsuranceMgm.Admin.SearchInsurance" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="frmsearchCompany" runat="server">
 <fieldset>
        <legend>Detail Search</legend>
        <table>
        <tr> 
        <td>Name:</td>
        <td>
            <asp:TextBox ID="txtcompanyName" runat="server"></asp:TextBox></td>
        <td>Address:</td>
        <td><asp:TextBox ID="txtAddress" runat="server"></asp:TextBox></td>
        <td style="width: 85px"> 
            <asp:Button ID="btnsearch" runat="server" Text="Search" 
                onclick="btnsearch_Click" /></td>
        </tr>
    </table>
   
        

    </fieldset>
    <fieldset>
        <legend>Search Result</legend>
       <asp:GridView ID="grvcompany" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="CompanyId"
       
                BorderColor="#CCCCCC" BorderStyle="Solid">
        <Columns>
            <asp:BoundField DataField="CompanyId" HeaderText="CompanyID" 
                SortExpression="CompanyId" />
            <asp:BoundField DataField="CompanyName" HeaderText="Company Name" />
            <asp:BoundField DataField="Address" HeaderText="Address" />
            <asp:BoundField DataField="Phone" HeaderText="Phone" />
            <asp:BoundField DataField="CompanyUrl" HeaderText="Website" />
           
                      
      
        </Columns>
             

    </asp:GridView>
    </fieldset>
    </form>
</asp:Content>
